Free the custom paper list. (#403267, Felix Riemann)
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Apr 2007 05:06:06 +0000 (05:06 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 29 Apr 2007 05:06:06 +0000 (05:06 +0000)
2007-04-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
        Free the custom paper list.  (#403267, Felix Riemann)

svn path=/trunk/; revision=17695

ChangeLog
gtk/gtkpagesetupunixdialog.c

index 0c805875c9cffc158db529d2208f7b2c200ac1af..5ea8e2bcd4bddcdd5b4e21bb133b2c90257f2af3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-29  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
+       Free the custom paper list.  (#403267, Felix Riemann)
+
 2007-04-29  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a 
index 4bd4a88db0a8f4a7b1b13fddadd93e174d9c3676..73742cd009a381db03eb2676759dce36395caba3 100644 (file)
@@ -386,6 +386,12 @@ gtk_page_setup_unix_dialog_finalize (GObject *object)
       priv->page_setup_list = NULL;
     }
 
+  if (priv->custom_paper_list)
+    {
+      g_object_unref (priv->custom_paper_list);
+      priv->custom_paper_list = NULL;
+    }
+
   if (priv->print_settings)
     {
       g_object_unref (priv->print_settings);